package com.njust.RateMyTray_backend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@TableName("t_report")
public class Report implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("reporter_id")
    private Long reporterId;

    @TableField("target_id")
    private Long reportedContentId;

    @TableField("target_type")
    private String reportedContentType;

    private String reason;

    private String status;

    @TableField("processor_id")
    private Long processorId;

    @TableField("reported_at")
    private LocalDateTime createdAt;

    @TableField("processed_at")
    private LocalDateTime updatedAt;
} 